04. Understanding Custom Views
21 3 AAK Custom Views Concept V2
Android Developer Documentation
Quiz
SOLUTION:
- Extend View, or extend a View subclass.
- Override behavior or aspects that you want to change.
- Override `onDraw()`, `onMeasure()`, and other methods.
- Use a custom view class as a UI widget in XML layout.
- Respond to user interaction and redraw.
- Define custom attributes.